package com.shenmazong.serveredustudent.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shenmazong.serveredustudent.pojo.TbMajor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Entity com.shenmazong.serveredustudent.pojo.TbMajor
 */
@Mapper
@Component
public interface TbMajorMapper extends BaseMapper<TbMajor> {

    List<TbMajor> getMajorByCollageId(@Param("collageId") long collageId);

}




